package com.qk.management.controller;

import com.qk.common.Result;
import com.qk.dto.operateLog.operateLogDTO;
import com.qk.management.service.OperateLogService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RestController;

/**
 *
 *
 * @author blusr
 * @version 1.0
 * @date 2025/10/17 17:04
 */
@RestController
@RequestMapping("/logs")
public class OperateLogController {
    @Autowired
    private OperateLogService operateLogService;

    @GetMapping
    public Result getOperateLogs(operateLogDTO dto) {
        return Result.success(operateLogService.getOperatePage(dto));
    }
}
